package com.tiku.mapper;

import com.tiku.controller.DTO.UserCollectionDTO;
import com.tiku.controller.DTO.UserShoucangDTO;
import com.tiku.entity.UserCollection;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author Administrator
* @description 针对表【user_collection】的数据库操作Mapper
* @createDate 2024-09-25 18:51:42
* @Entity com.tiku.entity.UserCollection
*/
public interface UserCollectionMapper extends BaseMapper<UserCollection> {

    List<UserCollectionDTO> selectCollection(String id,String setMealId);

    List<UserCollectionDTO> selectCollections(String threadLocal,String csiId);

    List<UserShoucangDTO> selectCollectionAssembly(String id, String threadLocal);

    Integer selectCollectionByUserIdAndQuestionId(String userId, String questionId);

    List<UserCollectionDTO> selectCollection2(String userId, String setMealId);

    List<UserCollectionDTO> selectCollections2(String userId, String csiId);

    String getSetMealId(String id);

    List<UserCollectionDTO> selectCollection3(String id);

    List<UserCollectionDTO> selectCollection4(String id);
}




